package top.txl.service;

import top.txl.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    void addBook(AddressBook book);

    List<AddressBook> getBookLists(Integer userId);

    void updateBook(AddressBook book);

    AddressBook getBookDetail(Integer userId, Integer id);

    void updateBookNotEqualThisId(AddressBook book);

    List<AddressBook> getIsDefaultAddress(Integer userId);
}
